.container {
    background-color: #f5f5f5;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.header {
    display: flex;
    align-items: center;
    padding: 0.9375rem;
    background-color: white;
    border-bottom: 0.0625rem solid #f0f0f0;
}

.backIcon {
    font-size: 1.25rem;
    margin-right: 0.625rem;
}

.title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.codeSection {
    display: flex;
    padding: 0.9375rem;
    background-color: white;
    margin-bottom: 0.625rem;
}

.codeInput {
    flex: 1;
    padding: 0.625rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    margin-right: 0.625rem;
}

.redeemButton {
    background-color: #ff4d4f;
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0 0.9375rem;
    font-size: 0.875rem;
}

.couponSection {
    background-color: white;
    padding: 0.9375rem;
    margin-bottom: 0.625rem;
}

.sectionTitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.9375rem;
    color: #333;
}

.couponCard {
    display: flex;
    margin-bottom: 0.9375rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.available {
    border: 0.0625rem solid #ff4d4f;
}

.unavailable {
    border: 0.0625rem solid #ddd;
    opacity: 0.7;
}

.couponLeft {
    width: 6.25rem;
    background-color: #ff4d4f;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.625rem;
}

.unavailable .couponLeft {
    background-color: #ccc;
}

.amount {
    font-size: 1.5rem;
    font-weight: 600;
}

.type {
    font-size: 0.75rem;
}

.couponRight {
    flex: 1;
    padding: 0.625rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail {
    margin-bottom: 0.625rem;
}

.condition {
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 0.3125rem;
}

.expire {
    font-size: 0.75rem;
    color: #999;
}

.reason {
    font-size: 0.75rem;
    color: #ff4d4f;
    margin-top: 0.3125rem;
}

.useButton {
    align-self: flex-end;
    background-color: #ff4d4f;
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.3125rem 0.75rem;
    font-size: 0.75rem;
}

.disabledButton {
    align-self: flex-end;
    background-color: #ccc;
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.3125rem 0.75rem;
    font-size: 0.75rem;
}